<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@page import="com.ambow.utils.*"%>
<%@page import="com.ambow.Entity.*"%>
<%@page import="com.ambow.*"%>
<%@page import="org.hibernate.*"%>
<%@page import="com.ambow.service.impl.*"%>
<%@page import="com.ambow.service.*"%>
<%@page import="java.util.*" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="Keywords" content="关键词1,关键词2，关键词3,关键词4,……" />
<meta name="Description" content="你网页的简述" />
<meta name="Robots" content="All" />
<meta name="Generator" content="Dreamweaver" />
<title>其它领书</title>
<link href="<%=path %>/static/css/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<%
	Integer id=Integer.valueOf(request.getParameter("radio"));
	StockService stockService=new StockServiceImpl();
	Stock stock=stockService.queryStock("from Stock where textBook_id="+id);
	 %>
	<h3 id="subTitle">其它领书</h3>
	<form name="" method="post" action="<%=path%>/DeliverToOtherServlet?status=add">
		<table width="90%" border="0" align="center" cellpadding="0"
			cellspacing="0" class="table">

			<tr>
				<td colspan="3" class="p4">教材信息：</td>
			</tr>
			<tr>
				<td width="25%" align="right" class="title2">架位：</td>
				<td width="12%" class="within2bg">&nbsp; <select name="cell">
				<option value="<%=stock.getCell().getId()%>"><%=stock.getCell().getName()%></option>
				</select></td>
				<td class="within2bg">可领数量：&nbsp; <input type="text"
					class="input2" name="amount" value="<%=stock.getAmount()%>" size="6" maxlength="6" readonly="true" />
					</td>
			</tr>
			<tr>
				<td align="right" class="title2">领用数量：</td>
				<td colspan="2" class="within2bg">&nbsp; <input
					name="lnum" type="text" size="6" maxlength="6" class="input2" /></td>
			</tr>
			<tr>
				<td align="right" class="title2">领用人姓名：</td>
				<td colspan="2" class="within2bg">&nbsp; <input
					name="lname" type="text" size="20" maxlength="20"
					class="input2" /></td>
			</tr>
		</table>
		<table width="90%" border="0" align="center" cellpadding="0"
			cellspacing="0" class="yesno">
			<tr>
				<td align="center"><input type="hidden"  value="<%=id%>" name="radio"/><input name="Submit2" type="submit"
					class="bevel" value="确定" /> &nbsp;&nbsp; <input name="Submit3"
					type="reset" class="bevel" value="取消" /></td>
			</tr>
		</table>
	</form>
</body>
</html>